import 'package:flutter/material.dart';

class Counter with ChangeNotifier{

  int value = 0;


  increment(){
    value++;

    //变化后 通知数据变化了
    notifyListeners();
  }

}

